package com.work.mvc.view.panels.reports;

import com.vaadin.ui.*;
import com.work.i18n.Messages;
import com.work.reports.ReportType;

public class OvertimeToTakeReportPanel extends ReportPanel {
	
	private static final long serialVersionUID = 1056799681904491800L;

	private static ReportType reportType = ReportType.TAKEN_OVERTIME;
	
	private HorizontalLayout content;

	public OvertimeToTakeReportPanel() {
		super(Messages.get(reportType.getName()));
	}
	
	@Override
	protected Component createContent()
	{
		content = new HorizontalLayout();
		
		content.setSizeFull();
		
		return content;
	}

	@Override
	protected ReportType getReportType()
	{
		return reportType;
	}

	@Override
	protected boolean isValid()
	{
		return true;
	}
}
